<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-change_id" data-rule="required" data-source="change/index" class="form-control selectpage" name="row[change_id]" type="text" value="{$row.change_id|htmlentities}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-change_title" readonly data-rule="required" class="form-control" name="row[change_title]" type="text" value="{$row.change_title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <div class="input-group">
                <input id="c-change_images" class="form-control" size="50" name="row[change_images]" type="textarea" value="{$row.change_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-change_images" class="btn btn-danger faupload" data-input-id="c-change_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-change_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-change_images" class="btn btn-primary fachoose" data-input-id="c-change_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-change_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-change_images"></ul> -->

            <ul class="row list-inline faupload-preview" id="p-content_images">
                {volist name="$row['imagelist']" id="imagelist"}
                <li class="col-xs-3"><a href="{$imagelist|htmlentities}" data-url="{$imagelist|htmlentities}" target="_blank" class="thumbnail"><img src="{$imagelist|htmlentities}" onerror="this.src='{$imagelist|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
                {/volist}
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" readonly class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input id="c-status" data-rule="required" readonly class="form-control" type="text" {if condition="$row['status'] eq 2"} value="审核中" {/if}{if condition="$row['status'] eq 3"} value="已通过" {/if}{if condition="$row['status'] eq 4"} value="未通过" {/if}>

        </div>
    </div>
    <!-- <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div> -->
</form>
